package com.csu.csumall.VO;

import com.csu.csumall.entity.OrderItem;

class OrderProductVO {

    private String productName;
    private String productImage;
    private Integer currentPrice;
    private Integer quantity;
    private Integer totalPrice;

    public OrderProductVO(OrderItem orderItem) {
        productName = orderItem.getProductName();
        productImage = orderItem.getProductImage();
        currentPrice = orderItem.getCurrentPrice();
        quantity = orderItem.getQuantity();
        totalPrice = orderItem.getTotalPrice();
    }
}
